func time.tzsetNum
9 uses
time (current package)
zoneinfo.go#L417: hours, s, ok = tzsetNum(s, 0, 24*7)
zoneinfo.go#L430: mins, s, ok = tzsetNum(s[1:], 0, 59)
zoneinfo.go#L443: secs, s, ok = tzsetNum(s[1:], 0, 59)
zoneinfo.go#L483: jday, s, ok = tzsetNum(s[1:], 1, 365)
zoneinfo.go#L491: mon, s, ok = tzsetNum(s[1:], 1, 12)
zoneinfo.go#L497: week, s, ok = tzsetNum(s[1:], 1, 5)
zoneinfo.go#L502: day, s, ok = tzsetNum(s[1:], 0, 6)
zoneinfo.go#L512: day, s, ok = tzsetNum(s, 0, 365)
zoneinfo.go#L537: func tzsetNum(s string, min, max int) (num int, rest string, ok bool) {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |